\documentclass[lang=cn,12pt]{elegantbook}

\title{计算机图形学基础}
\subtitle{第五版 \  中文译本}
\author{Steve Marschner \& Peter Shirley}
\institute{Cornell University \& NVIDIA}
\date{February 2021}
\version{Fifth edition}
\bioinfo{译者}{buding, Hugo, Ninohana}

\extrainfo{Stay hungry. Stay foolish. —— Steve Jobs}

\setcounter{tocdepth}{1}

\logo{CRC.png}
\cover{cover.png}

% 本文档命令
\usepackage{amsmath}
\usepackage{array}
\usepackage{listings}
\usepackage{hyperref}
\setCJKmainfont[Path=fonts/]{LXGWWenKai-Regular.ttf}
\definecolor{lightgreen}{RGB}{99,140,94}
\definecolor{purple}{RGB}{71,79,156}
\lstset{language=C}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}

% 修改标题页的橙色带
\definecolor{customcolor}{RGB}{171,35,74}
\colorlet{coverlinecolor}{customcolor}

\begin{document}

\maketitle

\frontmatter

\include{FrontMatter}

\tableofcontents

\mainmatter

\include{Ch1}

\include{Ch2}

\include{Ch3}

\include{Ch4}

\include{Ch5}

\include{Ch6}

\backmatter

\end{document}